/*jslint sloppy: true */
/*global require */
var probe = require('../global');
var APIOrigin = require('../config');
probe.service('PublicTask', function ($resource) {
	return $resource(APIOrigin + 'public/task/:taskId');
}).service('PublicResult', function ($resource) {
	return $resource(APIOrigin + 'public/result/:resultId', null, {
		query: {
			method: 'GET',
			params: { mask: 'schemas' },
			isArray: true
		}
	});
});
